<?php while (have_posts()) : the_post(); ?>
  <article <?php post_class(); ?>>
    <header>
      <h2 class="entry-title"><?php the_title(); ?></h2>
      <div class="meta">
      	<?php get_template_part('templates/entry-meta'); ?>
      </div>
    </header>
	<div class="container">
			<?php get_social(); ?>
			<div class="detail_blog">
				<?php if (get_the_post_thumbnail()){?>
						<?php the_post_thumbnail("large")?>
				<?php }?>
			</div>
	</div>
  
    <div class="entry-content">
      <?php the_content(); ?>
      <?php wp_link_pages( array( 'before' => '<div class="page-links">' . __( 'Pages:', 'yatheme' ), 'after' => '</div>' ) ); ?>
    </div>
	<nav>
    	<ul class="pager pull-right">
      		<li class="previous"><?php previous_post_link( '%link', __( '<span class="icon-chevron-left" title="Previous post"></span>', 'yatheme' ), true );?></li>
      		<li class="next"><?php next_post_link( '%link', __( '<span class="icon-chevron-right" title="Next post"></span>', 'yatheme' ), true ); ?></li>
    	</ul>
  	</nav>
	
    <?php comments_template('/templates/comments.php'); ?>
  </article>
<?php endwhile; ?>
